using GameFramework.Battle.Core;

namespace Yoozoo.Gameplay.RTS
{
    public enum SubActionType
    {
        Attack = 0,
        PlayAnimation = 1,
        ChangePos = 3,
        Aim = 4,
        Throw = 5,
    }
    
    public class SoldierAttackActionConfig
    {
        public int soldierType { get; set; }
        public int[] useActionId { get; set; }
        public int specialPercent { get; set; }
        public int specialTimes { get; set; }
        public int counterPercent { get; set; }
    }

    public class SoldierAttackActionConfigFather
    {
        public SoldierAttackActionConfig[] soldierTypeAndAttackActionKeyMap { get; set; }
    }

    public class AttackActionConfig
    {
        public AttackActionInfo[] actions { get; set; }
        public int actionID { get; set; }
    }

    public class AttackActionInfo
    {
        public float time { get; set; }
        public SubActionType type { get; set; }
        public EAnimationType animType { get; set; }
    }
}